$logged_in ||= false
exit if $logged_in
match_wait(/What be thy name, adventurer/)
$app.connection.send_text('Pyrinoc')
match_wait(/Password:/)
$app.connection.send_text('shan3570')
$app.connection.send_text('l')
$logged_in = true